-- sproto消息接收与响应方法handler

local _M = {}

local REQ_FROM_SERVER = {} -- req handler map

function REQ_FROM_SERVER.heartbeat(args)
    print(args)
end

function _M.REQ_FROM_SERVER(name)
    return REQ_FROM_SERVER[name]
end

----------------------------------------------------------------------

local RESP_FROM_SERVER = {}

-- function RESP_FROM_SERVER.enter_room(args)
-- end

function _M.RESP_FROM_SERVER(name)
    return RESP_FROM_SERVER[name]
end

return _M 